#include "case.h"

Case::Case(int pNumero) : m_numero(pNumero), m_nbGraines(4) {
}

Case::Case(const Case& pSource) {
	m_nbGraines = pSource.nbGraines();
	m_numero = pSource.numero();
}

Case& Case::operator=(const Case& pSource) {
	m_nbGraines = pSource.nbGraines();
	m_numero = pSource.numero();
	return *this;
}

void Case::setNbGraines(int pNbGraines) {
	m_nbGraines = pNbGraines;
}
